Working Modes
imaG can work basically in two modes: DRAW and EDIT.
In Draw mode imaG works like a PictureBox. You can draw lines, rectangles, points circles, etc ...
In Edit mode you can draw figures into the display by mooving the mouse across it.
DRAW MODE METHODS:
With MODE <> caModeDraw , an ERROR will be thrown.
EDIT MODE METHODS:
SelectAll |
With MODE = caModeDraw , an ERROR will be thrown.
PROPERTY MODE:
imaG.Mode = caMode...
Constant values to work in DRAW mode
caModeDraw |
Constant values to work in EDIT mode
caModeEditSelection | caModeEditPen | caModeEditBrush |
caModeEditEraser | caModeEditFill | caModeEditLine |
caModeEditRectangle | caModeEditRectangleFilled | caModeEditRoundRectangle |
caModeEditRoundRectangleFilled | caModeEditEllipse | caModeEditEllipseFilled |
For changing the working mode, change the property MODE from caModeDraw to caModeEdit...
Copyright © Carlos Acerbi